﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace housingsafety.server.Models
{
    public class ZmYtRoomDto
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public string Id { get; set; }
         
        /// <summary>
        /// 户编码
        /// </summary>
        public string RoomNo { get; set; }

        /// <summary>
        /// 幢编码
        /// </summary>
        public string BuildNo { get; set; }

        /// <summary>
        /// 门牌号
        /// </summary>
        public string RoomNum { get; set; }

        /// <summary>
        /// 层名
        /// </summary>
        public short Layer { get; set; } = -50;

        /// <summary>
        /// 起始层
        /// </summary>
        public short BeginLayer { get; set; }

        /// <summary>
        /// 终止层
        /// </summary>
        public short EndLayer { get; set; }

        /// <summary>
        /// 单元号
        /// </summary>
        public string CellNo { get; set; }

        /// <summary>
        /// 建筑面积
        /// </summary>
        public float AreaTotal { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateOn { get; set; }

        /// <summary>
        /// 创建时的IP
        /// </summary>
        public string CreateIp { get; set; }

        /// <summary>
        /// 修改者
        /// </summary>
        public string ModifiedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifiedOn { get; set; }

        /// <summary>
        /// 修改时的IP
        /// </summary>
        public string ModifiedIp { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public short? IsDelete { get; set; }

        /// <summary>
        /// 删除者
        /// </summary>
        public string DeleteBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime DeleteOn
        {
            get; set;
        }

        /// <summary>
        /// 删除时的IP
        /// </summary>
        public string DeleteIp { get; set; }
    }
}
